def generator_topic_string(lst: list) -> list:
    """
    生成题目字符串
    :param lst:
    :return:
    """
    result = []
    for item in lst:
        name = item["name"]
        options = item["options"]
        answer = item["answer"]
        string = f"{name}\n"
        for i, option in enumerate(options):
            string += f"{option}\n"
        string += f"\n答案:{answer}\n"
        string += "=" * 50
        string = string.replace(" ", "")
        print(string)
        result.append(string)
    return result
